<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>教务管理系统</title>
    <link rel="stylesheet" href="../static/css/header.css" type="text/css">
    <link rel="stylesheet" href="../static/css/stuIndex.css" type="text/css">
    <script src="../static/js/stuIndex.js"></script>
</head>
<body>
<script>
    function toHeader(){
        window.location.assign('http://www.baidu.com');
    }
</script>
<div class="header">
    <div class="header-title">
        <div class="header-title-logo">
        </div>
        <div class="header-title-body">
            <h2>教务管理系统</h2>
        </div>
        <div class="header-title-quit">
            <a href="/login">安全退出</a>
        </div>
        <div class="header-title-person">
            <a onclick="toPerson()">
                <img id="person-img" th:title="${userID}" src="../static/images/a0.jpg"/>
            </a>
        </div>
    </div>
</div>
<div class="student-main">
    <div class="student-title-search">
        <div class="stu-title-search">
            <input id="stu-search-text" type="text" placeholder="请输入搜索关键字"/>
            <div onclick="toHeader()">
                搜索
            </div>
        </div>
    </div>
    <div class="student-body">
        <div class="student-titles">
            <dl class="stu-select">
                <a href="/stuSelectInfo?userID=" id="toStuSelect" onclick="toStuSelect('toStuSelect')">
                    <dd>
                        <img src="../static/images/service.jpg"/>
                    </dd>
                    <dt>
                        自主选课
                    </dt>
                </a>
            </dl>
        </div>
        <div class="student-titles">
            <dl class="stu-select">
                <a href="/stuList?userID=" id="toStuList" onclick="toStuSelect('toStuList')">
                    <dd>
                        <img src="../static/images/service (2).jpg"/>
                    </dd>
                    <dt>
                        课表信息
                    </dt>
                </a>
            </dl>
        </div>
        <div class="student-titles">
            <dl class="stu-select">
                <a>
                    <dd>
                        <img src="../static/images/service (1).jpg"/>
                    </dd>
                    <dt>
                        成绩查询
                    </dt>
                </a>
            </dl>
        </div>
    </div>
</div>
</body>
</html>